import java.util.List;

/**
 * Represents an loop statement that inherits from an ExprS
 * A loop statement in the surface syntax has a condition as a string representing the code
 * and a body statement which is a list of expressions
 * @author sean
 *
 */
public class LoopS extends ExprS{
	
	List <ExprS> body;
	
	public LoopS(String condition, List <ExprS> body) {
		super(condition);
		this.body = body;
	}
	
	public List <ExprS> getBody() {
		return body;
	}
	
	public void setBody(List<ExprS> newBody) {
		this.body = newBody;
	}
	

}
